<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/jsp/include/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title><%=system_name%> - 用户登录</title>
	<%@include file="/WEB-INF/jsp/include/meta.jsp"%>
	
	<link href="<%=basePath%>css/common.css" rel="stylesheet" type="text/css" />
	<link href="<%=basePath%>css/login.css" rel="stylesheet" type="text/css" />
	<script src="<%=basePath%>js/common.js" type="text/javascript"></script>
	<script type="text/javascript">
	if (top.location != self.location)top.location=self.location;
	</script>
	<style type="text/css">
	<!--
	body {
		padding: 0px;
		border: 0px;
		margin: 0px;
		color: #a8c5d7;
		line-height: 180%;
		font-size: 9pt;
		font-family: "Arial", "宋体";
		text-decoration: none;
		background: url(images/bg.jpg) repeat-x #162753 top left;
	}
	td {
		font-size: 14px;
		font-family: "Arial", "宋体";
		text-decoration: none;
		line-height: 180%;
	}
	#clear{ clear:both;}
	img { border: 0;}
	input{ background:#87adbf; border:1px solid #06598e; height:24px; line-height:24px;} 
	.wrap{ background:url(images/loginBg.jpg) no-repeat; height:613px; width:1003px; margin:0 auto;}
	.wrap .login{ padding-top:250px;}
	a:link  {
		color: #666;
		text-decoration: none;
	}
	a:visited {
		color: #ff0000;
		text-decoration: none;
	}
	
	.copyright{ text-align:center; padding-top:80px;}
	
	-->
	</style>

<script type="text/javascript">
function submitLogin(){
	if(''==data.name){alert('产品名称不能为空');return;}
	if(''==data.productNo){
		alert('货号不能为空');return;
	}
}
</script>

</head>

<body oncontextmenu='return false'>
 
 <div class="wrap">
	
    <div class="login">
    	<div class="">
    	<form action="trade/login" method="post">
   	  <table width="30%" border="0" align="center" cellpadding="3" cellspacing="0">
          <tr>
            <td width="25%">用　户:</td>
            <td colspan="2"><input type="text" name="account" value="${command.account}"  size="20" /></td>
          </tr>
          <tr>
            <td>密　码:</td>
            <td colspan="2"><input type="password" name="password" value="" size="20"  /></td>
          </tr>          
          <tr>          	 
            <td>验证码:</td>
            <td width="36%"><input type="text" id="validateCode" name="validateCode" size="10" autocomplete='off' />
            	
            </td>
            <td width="39%"><a href="javascript:loadValidateImage('vImage','${basePath}imageCaptcha?')"><img name="vImage"  id="vImage" width="80" /></a>
            	<script>loadValidateImage("vImage","${basePath}imageCaptcha?");</script></td>             
          </tr>          
        </table>
    	<table width="30%" border="0" align="center" cellpadding="2" cellspacing="0">
    	 <tr>
    	    <td width="46%" height="30">&nbsp;</td>
    	    <td width="54%">&nbsp;</td>
  	    </tr>      
    	  <tr>
    	  	<td align="right"><input type="submit" src="images/enter.gif" alt="登录"  style="background:url('images/enter.gif') no-repeat;;width:40px;height:16px;border:0;margin:0;" value="" /></td>
    	    <td><input type="reset" src="images/resent.gif" alt="重置" style="background:url('images/resent.gif') no-repeat;;width:40px;height:16px;border:0;margin:0;" value="" /></td>    	        	    
  	    </tr>
  	    <td colspan="2" style="height:40px;text-align:center;vertical-align:top;line-height:15px"><span style="color:red">${message}</span></td>
      </table>
      </form>
      </div>
    <div id="clear"></div>
    <div class="copyright">&copy;2013 Fuzhou Maxofei Electrical Appliances Co.,Ltd</div>
    </div>

</div>
</body>
</html>
